package com.xuzhen.designPattern.decorator.two;


public class SourAddress extends MessageDecorator {
	private Component component;

	public SourAddress(Component component) {
		this.component = component;
	}

	public void addMessage() {
		this.component.addMessage();
		System.out.println("SourAddress(Decorator)->");
	}
}
